﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tools
{
    public class TaskModel
    {
        /// <summary>
        /// 
        /// </summary>
        public string id { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string createdDateTime { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string lastModifiedDateTime { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string changeKey { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public List<string> categories { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string assignedTo { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public bool hasAttachments { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string importance { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public bool isReminderOn { get; set; }

        /// <summary>
        /// 王 树羽
        /// </summary>
        public string owner { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string parentFolderId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string sensitivity { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string status { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string subject { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public DateTimeModel completedDateTime { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public DateTimeModel dueDateTime { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string recurrence { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public DateTimeModel reminderDateTime { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public DateTimeModel startDateTime { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public Body body { get; set; }

    }

    public class Body
    {
        /// <summary>
        /// 
        /// </summary>
        public string contentType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string content { get; set; }
    }

    public class DateTimeModel
    {
        /// <summary>
        /// 
        /// </summary>
        public DateTime dateTime { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string timeZone { get; set; }
    }
}
